Functions


Accessing Window Information

FrontNonFloatingWindow Returns a pointer to the application’s frontmost visible window that is not a floating window.
GetWindowAttributes Obtains the attributes of a window.
GetWindowClass Obtains the class of a window.
IsValidWindowPtr Reports whether a pointer is a valid window pointer.

Activating Window Path Pop-Up Menus

IsWindowPathSelectClick Reports whether a mouse click should activate the window path pop-up menu.
WindowPathSelect Displays a window path pop-up menu.

Associating Data With Windows

GetWindowProperty Obtains a piece of data that is associated with a window.
GetWindowPropertySize Obtains the size of a piece of data that is associated with a window.
RemoveWindowProperty Removes a piece of data that is associated with a window.
SetWindowProperty Associates an arbitrary piece of data with a window.

Collapsing Windows

CollapseAllWindows Collapses or expands all collapsable windows in an application.
CollapseWindow Collapses or expands a window to its title bar .
IsWindowCollapsable Determines whether a window can be collapsed.
IsWindowCollapsed Determines whether a window is currently collapsed.

Coordinating Proxy Icons With Drag-and-Drop Management

BeginWindowProxyDrag Creates the drag reference and the drag image when the user drags a proxy icon.
EndWindowProxyDrag Disposes of the drag reference when the user completes the drag of a proxy icon.
HiliteWindowFrameForDrag Sets the highlight state of the window’s structure region to reflect the window’s validity as a drag-and-drop destination.
IsWindowModified Obtains the modification state of the specified window.
SetWindowModified Sets the modification state of the specified window.
TrackWindowProxyDrag Handles all aspects of the drag process when the user drags a proxy icon.
TrackWindowProxyFromExistingDrag Allows custom handling of the drag process when the user drags a proxy icon.

Creating Windows

GetNewWindow Creates a new monochrome window from a window resource.
NewWindow Creates a new monochrome window from a parameter list.

Creating and Storing Windows

CreateNewWindow Creates a window from parameter data.
CreateWindowFromCollection Creates a window from collection data.
CreateWindowFromResource Creates a window from 'wind' resource data.
StoreWindowIntoCollection Stores data describing a window into a collection.

Displaying Floating Windows and Window Animations

AreFloatingWindowsVisible Indicates whether an application’s floating windows are currently visible.
HideFloatingWindows Hides an application’s floating windows.
InitFloatingWindows Initializes the Window Manager and sorts your application’s windows into the proper front-to-back display order.
ShowFloatingWindows Shows an application’s floating windows.
TransitionWindow Displays an animation and plays the theme-appropriate sound for a window when it is shown or hidden.

Displaying Windows

DrawGrowIcon Draws a window’s size box and scroll bar delimiters.

Establishing Proxy Icons

GetWindowProxyAlias Obtains an alias for the file that is associated with a window.
GetWindowProxyFSSpec Obtains a file system specification structure for the file that is associated with a window.
GetWindowProxyIcon Obtains a window’s proxy icon.
RemoveWindowProxy Dissociates a file from a window.
SetWindowProxyAlias Associates a file with a window.
SetWindowProxyCreatorAndType Sets the proxy icon for a window that lacks an associated file.
SetWindowProxyFSSpec Associates a file with a window.
SetWindowProxyIcon Overrides the default proxy icon for a window.

Maintaining the Update Region

InvalWindowRect Adds a rectangle to a window’s update region.
InvalWindowRgn Adds a region to a window’s update region.
ValidWindowRect Removes a rectangle from a window’s update region.
ValidWindowRgn Removes a region from a window’s update region.

Manipulating Window Color Information

GetAuxWin Obtains a handle to a window’s auxiliary window structure.
GetWindowContentColor Obtains the color to which a window’s content region is redrawn.
GetWindowContentPattern Obtains the pattern to which a window’s content region is redrawn.
SetWinColor Sets a window color table.
SetWindowContentColor Sets the color to which a window’s content region is redrawn.
SetWindowContentPattern Sets the pattern to which a window’s content region is redrawn.

Referencing Windows

CloneWindow Increments the number of references to a window.
GetWindowOwnerCount Obtains the number of existing references to a window.

Retrieving Window Information

FindWindow Maps the location of the cursor to a part of the screen or a region of a window when your application receives a mouse-down event.
GetWindowFeatures Obtains the features that a window supports.
GetWindowRegion Obtains a handle to a specific window region.

Sizing and Positioning Windows

GetWindowBounds Obtains the size and position of the bounding rectangle of the specified window region.
MoveWindowStructure Positions a window relative to its structure region.
RepositionWindow Positions a window relative to another window or a display screen.
ResizeWindow Handles all user interaction while a window is being resized.
SetWindowBounds Sets a window’s size and position from the bounding rectangle of the specified window region.

Zooming Windows

GetWindowIdealUserState Obtains the size and position of a window in its user state.
IsWindowInStandardState Determines whether a window is currently zoomed in to the user state or zoomed out to the standard state.
SetWindowIdealUserState Sets the size and position of a window in its user state.
ZoomWindowIdeal Zooms a window in accordance with human interface guidelines.

Miscellaneous

BeginUpdate
BringToFront
CalcVis
CalcVisBehind
CallDeskHookProc
CallWindowDefProc
ChangeWindowAttributes
ChangeWindowPropertyAttributes
CheckUpdate
ClipAbove
CloseWindow
CopyWindowTitleAsCFString
CreateCustomWindow
DebugInvertVisRegion
DebugPrintWindow
DebugPrintWindowList
DisableSingleDocumentMode
DisposeDeskHookUPP
DisposeWindow
DisposeWindowDefUPP
DisposeWindowPaintUPP
DragGrayRgn
DragTheRgn
DragWindow
DrawNew
EnableSingleDocumentMode
EndUpdate
FindWindowOfClass
FrontWindow
GetCWMgrPort
GetFrontWindowOfClass
GetGrayRgn
GetNewCWindow
GetNextWindow
GetNextWindowOfClass
GetWMgrPort
GetWRefCon
GetWTitle
GetWVariant
GetWindowControlList
GetWindowFromPort
GetWindowGoAwayFlag
GetWindowKind
GetWindowList
GetWindowPic
GetWindowPort
GetWindowPortBounds
GetWindowPropertyAttributes
GetWindowSpareFlag
GetWindowStandardState
GetWindowUserState
GrowWindow
HideWindow
HiliteWindow
InitWindows
InstallWindowContentPaintProc
InvalRect
InvalRgn
InvokeDeskHookUPP
InvokeWindowDefUPP
InvokeWindowPaintUPP
IsSingleDocumentModeEnabled
IsWindowHilited
IsWindowUpdatePending
IsWindowVisible
MoveWindow
NewCWindow
NewDeskHookProc
NewDeskHookUPP
NewWindowDefProc
NewWindowDefUPP
NewWindowPaintUPP
PaintBehind
PaintOne
PinRect
ReshapeCustomWindow
SaveOld
ScrollWindowRect
ScrollWindowRegion
SelectWindow
SendBehind
SetDeskCPat
SetPortWindowPort
SetWRefCon
SetWTitle
SetWindowAttributes
SetWindowControlList
SetWindowKind
SetWindowPic
SetWindowStandardState
SetWindowTitleWithCFString
SetWindowUserState
ShowHide
ShowWindow
SizeWindow
TrackBox
TrackGoAway
ValidRect
ValidRgn
ZoomWindow
draggrayrgn
dragwindow
findwindow
getwtitle
growwindow
newcwindow
newwindow
pinrect
setwtitle
trackbox
trackgoaway

© 2000 Apple Computer, Inc. — (Last Updated 4/14/2000)